package com.example.rent.mapper;

import com.example.rent.entity.Teninhouse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wanted
 * @since 2021-12-02
 */
@Repository
public interface TeninhouseMapper extends BaseMapper<Teninhouse> {
    @Update("update teninhouse set tphone=#{phone} where tphone=#{id}")
    int updatephone(String id,String phone);
}
